From 99e1e839d4bb66f35e1ea93492ebfe92e39e6599 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 7 Aug 2007 03:14:30 +0000 Subject: [PATCH] Don't jump through null ovec for RTP. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2932 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/main.c b/gpsbabel/main.c index cca0d9a13..fc31c69d6 100644 --- a/gpsbabel/main.c +++ b/gpsbabel/main.c @@ -637,7 +637,7 @@ main(int argc, char *argv[]) fatal ("Couldn't install the exit signal handler.\n"); } - if (ovecs->position_ops.wr_init) { + if (ovecs && ovecs->position_ops.wr_init) { ovecs->position_ops.wr_init(ofname); } -- 2.30.2